package com.bailiban.service.impl;

import com.bailiban.entity.ProvinceCov;
import com.bailiban.repository.ProvinceCovRepository;
import com.bailiban.service.ProvinceCovService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhulang
 * @Classname ProviceNcovImpl
 * @Description TODO
 * @Date 2020/2/16 23:08
 */
@Service
public class ProvinceCovServiceImpl implements ProvinceCovService {
    @Autowired
    private ProvinceCovRepository provinceCovRepository;
    @Override
    public List<ProvinceCov> findAll()  {
        List<ProvinceCov> all = provinceCovRepository.findAll();
        return all;
    }
}
